﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductInput.ascx.cs" Inherits="admin_webparts_Plug_ins_Product_ProductInput" %>
<%@ Import Namespace="NTTHAO.Common.BL" %>
<%@ Import Namespace="NTTHAO.Web.BL.Product" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<%@ Import Namespace="System.Data" %>
<script type="text/javascript">
NTTHAO.namespace('page');

NTTHAO.page.langText = [];
NTTHAO.page.langText['INVALID_IMAGE_FILE'] = '<%=LanguageUtility.GetLanguageText("INVALID_IMAGE_FILE", Session)%>';
NTTHAO.page.langText['BLANK_NAME'] = '<%=LanguageUtility.GetLanguageText("BLANK_NAME", Session)%>';
NTTHAO.page.langText['BLANK_PRODUCT_CODE'] = '<%=LanguageUtility.GetLanguageText("BLANK_PRODUCT_CODE", Session)%>';
NTTHAO.page.langText['INVALID_PRODUCT_PRICE'] = '<%=LanguageUtility.GetLanguageText("INVALID_PRODUCT_PRICE", Session)%>';
NTTHAO.page.langText['PRODUCT_IMAGE_REQUIRED'] = '<%=LanguageUtility.GetLanguageText("PRODUCT_IMAGE_REQUIRED", Session)%>';

var imageEx = '<%=NTTHAO.CommonWeb.Constant.IMAGE_FILE_EXTENTIONS %>'.split(' ');

YAHOO.util.Event.onDOMReady(function() {
    imgCount = parseInt(YAHOO.util.Dom.get('<%=this.txtImageCount.ClientID %>').value, 10);
    proCount = parseInt(YAHOO.util.Dom.get('<%=this.txtPropertyCount.ClientID %>').value, 10);
    
    for (var i = 0; i < imgCount; i++) {
        YAHOO.util.Dom.setStyle('trImage' + (i + 1), 'display', '');
        YAHOO.util.Dom.setStyle('trCImage' + (i + 1), 'display', '');
    }
    for (var i = 0; i < proCount; i++) {
        YAHOO.util.Dom.setStyle('trPro' + (i + 1), 'display', '');
    }
    
    
    var Event = YAHOO.util.Event,
        Dom = YAHOO.util.Dom,
        dialog,
        calendar;
    Dom.get('<%=txtInsertDate.ClientID %>').readOnly = true;
    var showBtn = Dom.get("btnCal");
    Event.on(showBtn, "click", function() {
        if (!dialog) {
            Event.on(document, "click", function(e) {
                var el = Event.getTarget(e);
                var dialogEl = dialog.element;
                if (el != dialogEl && !Dom.isAncestor(dialogEl, el) && el != showBtn && !Dom.isAncestor(showBtn, el)) {
                    dialog.hide();
                }
            });

            function closeHandler() {
                dialog.hide();
            }

            dialog = new YAHOO.widget.Dialog("container", {
                visible:false,
                context:["show", "tl", "bl"],
                buttons:[ {text:"Hủy", handler: closeHandler, isDefault:true}],
                draggable:false,
                close:true
            });
            dialog.setHeader('Chọn ngày');
            dialog.setBody('<div id="cal"></div>');
            dialog.render(document.body);

            dialog.showEvent.subscribe(function() {
                if (YAHOO.env.ua.ie) {
                    dialog.fireEvent("changeContent");
                }
            });
        }

        if (!calendar) {
            calendar = new YAHOO.widget.Calendar("cal", {
                iframe:false,          // Turn iframe off, since container has iframe support.
                hide_blank_weeks:true, // Enable, to demonstrate how we handle changing height, using changeContent
                locale_months: 'long',
                navigator: true
            });
            calendar.cfg.setProperty("MONTHS_LONG",    ["Tháng 1 /", "Tháng 2 /", "Tháng 3 /", "Tháng 4 /", "Tháng 5 /", "Tháng 6 /", "Tháng 7 /", "Tháng 8 /", "Tháng 9 /", "Tháng 10 /", "Tháng 11 /", "Tháng 12 /"]);
            calendar.cfg.setProperty("WEEKDAYS_SHORT", ["CN", "T.2", "T.3", "T.4", "T.5", "T.6", "T.7"]);
            calendar.render();

            calendar.selectEvent.subscribe(function() {
                if (calendar.getSelectedDates().length > 0) {

                    var selDate = calendar.getSelectedDates()[0];

                    var dStr = selDate.getDate();
                    var mStr = selDate.getMonth() + 1;
                    var yStr = selDate.getFullYear();
    
                    Dom.get("<%=txtInsertDate.ClientID %>").value = (dStr < 10 ? "0" : "") + dStr + "/" + (mStr < 10 ? "0" : "") + mStr + "/" + yStr;
                } else {
                }
                dialog.hide();
            });

            calendar.renderEvent.subscribe(function() {
                dialog.fireEvent("changeContent");
            });
        }

        var inputDateStr = Dom.get("<%=txtInsertDate.ClientID %>").value;
        var d = new Date(
            parseInt(inputDateStr.substr(6, 4), 10), 
            parseInt(inputDateStr.substr(3, 2), 10) - 1, 
            parseInt(inputDateStr.substr(0, 2), 10));
        calendar.cfg.setProperty("selected", inputDateStr.substr(3, 2) + '/' + inputDateStr.substr(0, 2) + '/' + inputDateStr.substr(6, 4));
        calendar.cfg.setProperty("pagedate", d);
        calendar.render();
        
        var x = Dom.getX(showBtn);
        var y = Dom.getY(showBtn);
        var offsetWidth = dialog.element.offsetWidth;
        var offsetHeight = dialog.element.offsetHeight;
        dialog.cfg.setProperty("xy", [x,y-offsetHeight-3]);

        dialog.show();
    });
});

function doSubmit() {
    var txtProductID = document.getElementById("<%=this.txtProductID.ClientID %>");
    var txtName = document.getElementById("<%=this.txtName.ClientID %>");
    var txtPrice = document.getElementById("<%=this.txtPrice.ClientID %>");
    var chkSaleOff = document.getElementById("<%=this.chkSaleOff.ClientID %>");
    var txtSaleOffPrice = document.getElementById("<%=this.txtSaleOffPrice.ClientID %>");
    var fuPresentativeImage = document.getElementById("<%=this.fuPresentativeImage.ClientID %>");
    var fuImage1 = document.getElementById("<%=this.fuImage1.ClientID %>");
    var fuImage2 = document.getElementById("<%=this.fuImage2.ClientID %>");
    var fuImage3 = document.getElementById("<%=this.fuImage3.ClientID %>");
    var fuImage4 = document.getElementById("<%=this.fuImage4.ClientID %>");
    var fuImage5 = document.getElementById("<%=this.fuImage5.ClientID %>");

    var errorMessage = "";

    errorMessage = CheckFieldString("noblank", txtProductID, NTTHAO.page.langText['BLANK_PRODUCT_CODE']);
    if(errorMessage != "") {
        alert(errorMessage);
        txtProductID.select();
        txtProductID.focus();
        return false;
    }

    errorMessage = CheckFieldString("noblank", txtName, NTTHAO.page.langText['BLANK_NAME']);
    if(errorMessage != "") {
        alert(errorMessage);
        txtName.select();
        txtName.focus();
        return false;
    }
<%if (this._Product == null) { %>
    errorMessage = CheckFieldString("noblank", fuPresentativeImage, NTTHAO.page.langText['PRODUCT_IMAGE_REQUIRED']);
    if(errorMessage != "") {
        alert(errorMessage);
        fuPresentativeImage.focus();
        return false;
    }
<%} %>
    var imgFileName = Trim(fuPresentativeImage.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuPresentativeImage.focus();
        return false;
    }
    
    errorMessage = CheckFieldString("noblank", txtPrice, NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
    errorMessage += CheckFieldString("decimal", txtPrice, NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
    if(errorMessage != "") {
        alert(errorMessage);
        txtPrice.select();
        txtPrice.focus();
        return false;
    } else if (parseFloat(txtPrice.value) < 0) {
        alert(NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
        txtPrice.select();
        txtPrice.focus();
        return false;
    }
    
    if (chkSaleOff.checked) {
        errorMessage = CheckFieldString("noblank", txtSaleOffPrice, NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
        errorMessage += CheckFieldString("decimal", txtSaleOffPrice, NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
        if(errorMessage != "") {
            alert(errorMessage);
            txtSaleOffPrice.select();
            txtSaleOffPrice.focus();
            return false;
        } else if (parseFloat(txtSaleOffPrice.value) < 0) {
            alert(NTTHAO.page.langText['INVALID_PRODUCT_PRICE']);
            txtSaleOffPrice.select();
            txtSaleOffPrice.focus();
            return false;
        }
    }
    
    imgFileName = Trim(fuImage1.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuImage1.focus();
        return false;
    }
    
    imgFileName = Trim(fuImage2.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuImage2.focus();
        return false;
    }
    
    imgFileName = Trim(fuImage3.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuImage3.focus();
        return false;
    }
    
    imgFileName = Trim(fuImage4.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuImage4.focus();
        return false;
    }
    
    imgFileName = Trim(fuImage5.value);
    if (!checkFileType(imgFileName, imageEx)) {
        alert(NTTHAO.page.langText['INVALID_IMAGE_FILE']);
        fuImage5.focus();
        return false;
    }

    return true;
}
</script>
<style type="text/css">
    #spCancel1, #spSave, #spCancel2, #spSave2 {font-size:1.1em; font-weight: bold; }
    #spCancel1 button, #spSave button, #spCancel2 button, #spSave2 button { font-family: Verdana,Arial,Helvetica,sans-serif; font-weight: bold; }
</style>
<div class="tip">
	<h2 style="padding-top: 2px;"><%=LanguageUtility.GetLanguageText("PRODUCT_INPUT", Session)%></h2>
</div>
<form id="frmInput" runat="server" onsubmit="return doSubmit();">
<input id="txtImageCount" runat="server" value="0" type="hidden" />
<input id="txtPropertyCount" runat="server" value="0" type="hidden" />
<p style="text-align: left;">
    <span id="spSave" class="yui-button yui-link-button yuibtn yuibtn-icon btnsave"><span class="first-child"><asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="Save" /></span></span>
    <span id="spCancel1" class="yui-button yui-link-button yuibtn yuibtn-icon btncancel"><span class="first-child"><a href="?action=view&g=<%=Request.QueryString["g"] %>&typeid=<%=Request.QueryString["typeid"] %>"><%=LanguageUtility.GetLanguageText("CANCEL", Session)%></a></span></span>
    <script type="text/javascript">
        YAHOO.util.Event.onContentReady("spSave", function () {
            var spSave = new YAHOO.widget.Button("spSave");
        });
        YAHOO.util.Event.onContentReady("spCancel1", function () {
            var spCancel1 = new YAHOO.widget.Button("spCancel1");
        });
    </script>
</p>
<table cellspacing="0" cellpadding="3" border="1" class="grid" style="margin: 10px auto;">
    <tr class="odd">
        <td align="right" width="200px"><%=LanguageUtility.GetLanguageText("PRODUCT_ID", Session)%><span style="color: #ff0000;">&nbsp;*</span>:</td>
        <td><asp:TextBox ID="txtProductID" runat="server" Width="400px"></asp:TextBox></td>
    </tr>
    <tr class="even">
        <td align="right"><%=LanguageUtility.GetLanguageText("NAME", Session)%><span style="color: #ff0000;">&nbsp;*</span>:</td>
        <td><asp:TextBox ID="txtName" runat="server" Width="400px"></asp:TextBox></td>
    </tr>
    <tr class="odd">
        <td align="right">
            <%=LanguageUtility.GetLanguageText("DESCRIPTION", Session)%>:</td>
        <td>
            <asp:TextBox ID="txtDescription" runat="server" Width="600px" Height="100px" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr class="odd">
        <td align="right"><%=LanguageUtility.GetLanguageText("CONTENT", Session)%>:</td>
        <td>
            <CKEditor:CKEditorControl ID="_ContentCKEditor" runat="server" BasePath="Resources/js/ckeditor" Font-Names="Verdana" FontNames="Verdana/Verdana, Geneva, sans-serif&#13;&#10;Arial/Arial, Helvetica, sans-serif;&#13;&#10;Comic Sans MS/Comic Sans MS, cursive;&#13;&#10;Courier New/Courier New, Courier, monospace;&#13;&#10;Georgia/Georgia, serif;&#13;&#10;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;&#13;&#10;Tahoma/Tahoma, Geneva, sans-serif;&#13;&#10;Times New Roman/Times New Roman, Times, serif;&#13;&#10;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;" Height="450px" Skin="v2" TemplatesFiles="Resources/js/ckeditor/plugins/templates/templates/default.js" ToolbarFull="Source|-|NewPage|-|Templates&#13;&#10;Cut|Copy|Paste|PasteText|PasteFromWord|-|Print|SpellChecker|Scayt&#13;&#10;Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat&#13;&#10;Form|Checkbox|Radio|TextField|Textarea|Select|Button|ImageButton|HiddenField&#13;&#10;/&#13;&#10;Bold|Italic|Underline|Strike|-|Subscript|Superscript&#13;&#10;NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv&#13;&#10;JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock&#13;&#10;BidiLtr|BidiRtl&#13;&#10;Link|Unlink|Anchor&#13;&#10;Image|SelectImage|Flash|MediaEmbed|Table|HorizontalRule|Smiley|SpecialChar|PageBreak|Iframe&#13;&#10;/&#13;&#10;Styles|Format|Font|FontSize&#13;&#10;TextColor|BGColor&#13;&#10;Maximize|ShowBlocks|-|About" ></CKEditor:CKEditorControl>
        </td>
    </tr>
    <tr class="even">
        <td align="right"><%=LanguageUtility.GetLanguageText("PRESENTATIVE_IMAGE", Session)%><span style="color: #ff0000;">&nbsp;*</span>:</td>
        <td>
            <asp:FileUpload ID="fuPresentativeImage" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
            <br /><b>(<%=_Config.PreImageWidth.ToString() + " X " + _Config.PreImageHeight.ToString() %> pixels)</b>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image.Length > 0) { %>
    <tr class="even">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image %>" />
        </td>
    </tr>
    <%} %>
    <tr class="odd" style="<%=_Config.UnitVisible ? "" : "display: none;" %>">
        <td align="right"><%=LanguageUtility.GetLanguageText("UNIT", Session)%>:</td>
        <td><asp:TextBox ID="txtUnit" runat="server" Width="400px"></asp:TextBox></td>
    </tr>
    <tr class="even">
        <td align="right"><%=LanguageUtility.GetLanguageText("PRICE", Session)%><span style="color: #ff0000;">&nbsp;*</span>:</td>
        <td><asp:TextBox ID="txtPrice" runat="server" Width="400px" Text="0"></asp:TextBox></td>
    </tr>
    <tr class="odd" style="<%=_Config.SaleOffVisible ? "" : "display: none;" %>">
        <td align="right"><%=LanguageUtility.GetLanguageText("SALEOFF", Session)%>:</td>
        <td><input type="checkbox" id="chkSaleOff" runat="server" onclick="javascript: document.getElementById('trSaleOffPrice').style.display = this.checked ? '' : 'none';" /><label for="<%=chkSaleOff.ClientID %>"><%=LanguageUtility.GetLanguageText("SALEOFF", Session)%></label></td>
    </tr>
    <tr class="odd" style="<%=_Config.SaleOffVisible ? "" : "display: none;" %>" id="trSaleOffPrice">
        <td align="right"><%=LanguageUtility.GetLanguageText("SALEOFF_PRICE", Session)%><span style="color: #ff0000;">&nbsp;*</span>:</td>
        <td>
            <asp:TextBox ID="txtSaleOffPrice" runat="server" Width="400px" Text="0"></asp:TextBox>
            <script type="text/javascript">
                document.getElementById('trSaleOffPrice').style.display = document.getElementById('<%=chkSaleOff.ClientID %>').checked ? '' : 'none';
            </script>
        </td>
    </tr>
    <tr class="even" style="<%=_Config.SoldOutVisible ? "" : "display: none;" %>">
        <td align="right"><%=LanguageUtility.GetLanguageText("SOLD_OUT", Session)%>:</td>
        <td><input type="checkbox" id="chkSoldOut" runat="server" /><label for="<%=chkSoldOut.ClientID %>"><%=LanguageUtility.GetLanguageText("SOLD_OUT", Session)%></label></td>
    </tr>
    <tr class="odd">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENCY", Session)%>:</td>
        <td>
            <select id="cmbCurrency" runat="server" style="width: 100px;">
            </select>
        </td>
    </tr>
    <tr class="even">
        <td align="right"><%=LanguageUtility.GetLanguageText("ACTIVE", Session)%>:</td>
        <td>
            <asp:CheckBox ID="chkActive" runat="server" Text="Active" Checked="true" /></td>
    </tr>
    <tr class="odd">
        <td align="right"><%=LanguageUtility.GetLanguageText("INSERT_DATE", Session)%>:</td>
        <td>
            <div class="datefield">
                <asp:TextBox ID="txtInsertDate" runat="server" Width="100px" Text="0" CssClass="txtCal"></asp:TextBox>
                <div class="btnCal"><button type="button" id="btnCal" title="Show Calendar"><img src="resources/images/calbtn.gif" width="18" height="18" alt="Calendar"></button></div>
                &nbsp;-&nbsp;<asp:DropDownList ID="cmbInsertHour" runat="server" Width="45"></asp:DropDownList>&nbsp;giờ&nbsp;<asp:DropDownList ID="cmbInsertMin" runat="server" Width="45"></asp:DropDownList>&nbsp;phút
            </div>
        </td>
    </tr>
</table>
<%if (this._Config.NumberOfProperty > 0) { %>
<div class="tip">
	<h2 style="padding-top: 2px;"><%=LanguageUtility.GetLanguageText("PROPERTY", Session)%></h2>
</div>
<table cellspacing="0" cellpadding="3" border="1" class="grid" style="margin: 10px auto;">
    <tr class="odd" id="trPro1" style="display: none;">
        <td align="right" width="200px"><%=this._Config.Property_1 %>:</td>
        <td>
            <asp:TextBox ID="txtProperty1" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty1" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop1Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_1 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty1File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(0, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty1File1" name="chkRemoveProperty1File1" value="1" /><label for="chkRemoveProperty1File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_1 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty1File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(0, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty1File2" name="chkRemoveProperty1File2" value="1" /><label for="chkRemoveProperty1File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_1 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty1File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(0, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty1File3" name="chkRemoveProperty1File3" value="1" /><label for="chkRemoveProperty1File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_1 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty1File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(0, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty1File4" name="chkRemoveProperty1File4" value="1" /><label for="chkRemoveProperty1File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_1 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty1File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(0, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty1File5" name="chkRemoveProperty1File5" value="1" /><label for="chkRemoveProperty1File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="even" id="trPro2" style="display: none;">
        <td align="right"><%=this._Config.Property_2%>:</td>
        <td>
            <asp:TextBox ID="txtProperty2" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty2" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop2Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_2 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty2File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(1, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty2File1" name="chkRemoveProperty2File1" value="1" /><label for="chkRemoveProperty2File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_2 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty2File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(1, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty2File2" name="chkRemoveProperty2File2" value="1" /><label for="chkRemoveProperty2File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_2 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty2File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(1, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty2File3" name="chkRemoveProperty2File3" value="1" /><label for="chkRemoveProperty2File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_2 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty2File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(1, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty2File4" name="chkRemoveProperty2File4" value="1" /><label for="chkRemoveProperty2File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_2 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty2File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(1, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty2File5" name="chkRemoveProperty2File5" value="1" /><label for="chkRemoveProperty2File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="odd" id="trPro3" style="display: none;">
        <td align="right"><%=this._Config.Property_3%>:</td>
        <td>
            <asp:TextBox ID="txtProperty3" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty3" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop3Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_3 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty3File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(2, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty3File1" name="chkRemoveProperty3File1" value="1" /><label for="chkRemoveProperty3File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_3 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty3File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(2, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty3File2" name="chkRemoveProperty3File2" value="1" /><label for="chkRemoveProperty3File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_3 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty3File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(2, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty3File3" name="chkRemoveProperty3File3" value="1" /><label for="chkRemoveProperty3File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_3 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty3File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(2, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty3File4" name="chkRemoveProperty3File4" value="1" /><label for="chkRemoveProperty3File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_3 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty3File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(2, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty3File5" name="chkRemoveProperty3File5" value="1" /><label for="chkRemoveProperty3File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="even" id="trPro4" style="display: none;">
        <td align="right"><%=this._Config.Property_4%>:</td>
        <td>
            <asp:TextBox ID="txtProperty4" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty4" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop4Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_4 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty4File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(3, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty4File1" name="chkRemoveProperty4File1" value="1" /><label for="chkRemoveProperty4File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_4 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty4File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(3, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty4File2" name="chkRemoveProperty4File2" value="1" /><label for="chkRemoveProperty4File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_4 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty4File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(3, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty4File3" name="chkRemoveProperty4File3" value="1" /><label for="chkRemoveProperty4File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_4 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty4File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(3, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty4File4" name="chkRemoveProperty4File4" value="1" /><label for="chkRemoveProperty4File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_4 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty4File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(3, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty4File5" name="chkRemoveProperty4File5" value="1" /><label for="chkRemoveProperty4File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="odd" id="trPro5" style="display: none;">
        <td align="right"><%=this._Config.Property_5%>:</td>
        <td>
            <asp:TextBox ID="txtProperty5" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty5" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop5Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_5 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty5File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(4, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty5File1" name="chkRemoveProperty5File1" value="1" /><label for="chkRemoveProperty5File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_5 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty5File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(4, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty5File2" name="chkRemoveProperty5File2" value="1" /><label for="chkRemoveProperty5File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_5 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty5File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(4, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty5File3" name="chkRemoveProperty5File3" value="1" /><label for="chkRemoveProperty5File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_5 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty5File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(4, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty5File4" name="chkRemoveProperty5File4" value="1" /><label for="chkRemoveProperty5File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_5 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty5File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(4, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty5File5" name="chkRemoveProperty5File5" value="1" /><label for="chkRemoveProperty5File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="even" id="trPro6" style="display: none;">
        <td align="right"><%=this._Config.Property_6%>:</td>
        <td>
            <asp:TextBox ID="txtProperty6" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty6" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop6Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_6 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty6File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(5, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty6File1" name="chkRemoveProperty6File1" value="1" /><label for="chkRemoveProperty6File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_6 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty6File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(5, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty6File2" name="chkRemoveProperty6File2" value="1" /><label for="chkRemoveProperty6File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_6 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty6File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(5, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty6File3" name="chkRemoveProperty6File3" value="1" /><label for="chkRemoveProperty6File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_6 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty6File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(5, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty6File4" name="chkRemoveProperty6File4" value="1" /><label for="chkRemoveProperty6File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_6 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty6File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(5, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty6File5" name="chkRemoveProperty6File5" value="1" /><label for="chkRemoveProperty6File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="odd" id="trPro7" style="display: none;">
        <td align="right"><%=this._Config.Property_7%>:</td>
        <td>
            <asp:TextBox ID="txtProperty7" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty7" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop7Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_7 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty7File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(6, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty7File1" name="chkRemoveProperty7File1" value="1" /><label for="chkRemoveProperty7File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_7 %> 2:</td>
                        <td><asp:FileUpload ID="fuProperty7File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(6, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty7File2" name="chkRemoveProperty7File2" value="1" /><label for="chkRemoveProperty7File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_7 %> 3:</td>
                        <td><asp:FileUpload ID="fuProperty7File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(6, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty7File3" name="chkRemoveProperty7File3" value="1" /><label for="chkRemoveProperty7File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_7 %> 4:</td>
                        <td><asp:FileUpload ID="fuProperty7File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(6, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty7File4" name="chkRemoveProperty7File4" value="1" /><label for="chkRemoveProperty7File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_7 %> 5:</td>
                        <td><asp:FileUpload ID="fuProperty7File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(6, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty7File5" name="chkRemoveProperty7File5" value="1" /><label for="chkRemoveProperty7File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="even" id="trPro8" style="display: none;">
        <td align="right"><%=this._Config.Property_8%>:</td>
        <td>
            <asp:TextBox ID="txtProperty8" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty8" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop8Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_8 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty8File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(7, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty8File1" name="chkRemoveProperty8File1" value="1" /><label for="chkRemoveProperty8File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_8%> 2:</td>
                        <td><asp:FileUpload ID="fuProperty8File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(7, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty8File2" name="chkRemoveProperty8File2" value="1" /><label for="chkRemoveProperty8File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_8%> 3:</td>
                        <td><asp:FileUpload ID="fuProperty8File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(7, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty8File3" name="chkRemoveProperty8File3" value="1" /><label for="chkRemoveProperty8File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_8%> 4:</td>
                        <td><asp:FileUpload ID="fuProperty8File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(7, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty8File4" name="chkRemoveProperty8File4" value="1" /><label for="chkRemoveProperty8File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_8%> 5:</td>
                        <td><asp:FileUpload ID="fuProperty8File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(7, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty8File5" name="chkRemoveProperty8File5" value="1" /><label for="chkRemoveProperty8File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="odd" id="trPro9" style="display: none;">
        <td align="right"><%=this._Config.Property_9%>:</td>
        <td>
            <asp:TextBox ID="txtProperty9" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty9" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop9Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_9 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty9File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(8, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty9File1" name="chkRemoveProperty9File1" value="1" /><label for="chkRemoveProperty9File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_9%> 2:</td>
                        <td><asp:FileUpload ID="fuProperty9File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(8, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty9File2" name="chkRemoveProperty9File2" value="1" /><label for="chkRemoveProperty9File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_9%> 3:</td>
                        <td><asp:FileUpload ID="fuProperty9File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(8, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty9File3" name="chkRemoveProperty9File3" value="1" /><label for="chkRemoveProperty9File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_9%> 4:</td>
                        <td><asp:FileUpload ID="fuProperty9File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(8, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty9File4" name="chkRemoveProperty9File4" value="1" /><label for="chkRemoveProperty9File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_9%> 5:</td>
                        <td><asp:FileUpload ID="fuProperty9File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(8, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty9File5" name="chkRemoveProperty9File5" value="1" /><label for="chkRemoveProperty9File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
    <tr class="even" id="trPro10" style="display: none;">
        <td align="right"><%=this._Config.Property_10%>:</td>
        <td>
            <asp:TextBox ID="txtProperty10" runat="server" Width="400px" Height="100px" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
            <asp:CheckBoxList ID="chkProperty10" runat="server" RepeatColumns="3" CssClass="tbcklist b">
            </asp:CheckBoxList>
            <%if (_Config.Prop10Type == 3)
              { %>
            <div class="oh">
                <table cellspacing="0" cellpadding="0" border="1" class="grid">
                    <tr class="odd">
                        <td align="right" width="100px;" style="white-space: nowrap;" ><%=this._Config.Property_10 %> 1:</td>
                        <td><asp:FileUpload ID="fuProperty10File1" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(9, 0);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty10File1" name="chkRemoveProperty10File1" value="1" /><label for="chkRemoveProperty10File1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_10%> 2:</td>
                        <td><asp:FileUpload ID="fuProperty10File2" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(9, 1);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty10File2" name="chkRemoveProperty10File2" value="1" /><label for="chkRemoveProperty10File2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_10%> 3:</td>
                        <td><asp:FileUpload ID="fuProperty10File3" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(9, 2);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty10File3" name="chkRemoveProperty10File3" value="1" /><label for="chkRemoveProperty10File3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="even">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_10%> 4:</td>
                        <td><asp:FileUpload ID="fuProperty10File4" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(9, 3);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty10File4" name="chkRemoveProperty10File4" value="1" /><label for="chkRemoveProperty10File4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                    <tr class="odd">
                        <td align="right" style="white-space: nowrap;" ><%=this._Config.Property_10%> 5:</td>
                        <td><asp:FileUpload ID="fuProperty10File5" runat="server" />
                        <%{ string img = this.GetCurrentPropertyMultiData(9, 4);
                              if (img != string.Empty) { %>
                            <div>
                                <img class="mw100 mh100" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + img %>" /><br />
                                <input type="checkbox" id="chkRemoveProperty10File5" name="chkRemoveProperty10File5" value="1" /><label for="chkRemoveProperty10File5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
                            </div>
                            <%}} %>
                        </td>
                    </tr>
                </table>
            </div>
            <%} %>
        </td>
    </tr>
</table>
<%} %>
<%if (this._Config.NumberOfImage > 0) { %>
<div class="tip">
	<h2 style="padding-top: 2px;"><%=LanguageUtility.GetLanguageText("IMAGE", Session)%></h2>
</div>
<table cellspacing="0" cellpadding="3" border="1" class="grid" style="margin: 10px auto;">
    <tr class="odd" id="trImage1" style="display: none;">
        <td align="right" width="200px"><%=this._Config.Image_1%>:</td>
        <td>
            <asp:FileUpload ID="fuImage1" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_1.Length > 0) { %>
    <tr class="odd" id="trCImage1" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_1 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage1" name="chkRemoveImage1" value="1" /><label for="chkRemoveImage1"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="even" id="trImage2" style="display: none;">
        <td align="right"><%=this._Config.Image_2%>:</td>
        <td>
            <asp:FileUpload ID="fuImage2" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_2.Length > 0) { %>
    <tr class="even" id="trCImage2" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_2 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage2" name="chkRemoveImage2" value="1" /><label for="chkRemoveImage2"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="odd" id="trImage3" style="display: none;">
        <td align="right"><%=this._Config.Image_3%>:</td>
        <td>
            <asp:FileUpload ID="fuImage3" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_3.Length > 0) { %>
    <tr class="odd" id="trCImage3" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_3 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage3" name="chkRemoveImage3" value="1" /><label for="chkRemoveImage3"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="even" id="trImage4" style="display: none;">
        <td align="right"><%=this._Config.Image_4%>:</td>
        <td>
            <asp:FileUpload ID="fuImage4" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_4.Length > 0) { %>
    <tr class="even" id="trCImage4" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_4 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage4" name="chkRemoveImage4" value="1" /><label for="chkRemoveImage4"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="odd" id="trImage5" style="display: none;">
        <td align="right"><%=this._Config.Image_5%>:</td>
        <td>
            <asp:FileUpload ID="fuImage5" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_5.Length > 0) { %>
    <tr class="odd" id="trCImage5" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_5 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage5" name="chkRemoveImage5" value="1" /><label for="chkRemoveImage5"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="even" id="trImage6" style="display: none;">
        <td align="right"><%=this._Config.Image_6%>:</td>
        <td>
            <asp:FileUpload ID="fuImage6" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_6.Length > 0) { %>
    <tr class="even" id="trCImage6" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_6 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage6" name="chkRemoveImage6" value="1" /><label for="chkRemoveImage6"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="odd" id="trImage7" style="display: none;">
        <td align="right"><%=this._Config.Image_7%>:</td>
        <td>
            <asp:FileUpload ID="fuImage7" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_7.Length > 0) { %>
    <tr class="odd" id="trCImage7" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_7 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage7" name="chkRemoveImage7" value="1" /><label for="chkRemoveImage7"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="even" id="trImage8" style="display: none;">
        <td align="right"><%=this._Config.Image_8%>:</td>
        <td>
            <asp:FileUpload ID="fuImage8" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_8.Length > 0) { %>
    <tr class="even" id="trCImage8" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_8 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage8" name="chkRemoveImage8" value="1" /><label for="chkRemoveImage8"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="odd" id="trImage9" style="display: none;">
        <td align="right"><%=this._Config.Image_9%>:</td>
        <td>
            <asp:FileUpload ID="fuImage9" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_9.Length > 0) { %>
    <tr class="odd" id="trCImage9" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_9 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage9" name="chkRemoveImage9" value="1" /><label for="chkRemoveImage9"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
    <tr class="even" id="trImage10" style="display: none;">
        <td align="right"><%=this._Config.Image_10%>:</td>
        <td>
            <asp:FileUpload ID="fuImage10" runat="server" />
            &nbsp;<div style="color: mediumblue; background-color: moccasin; padding: 3px 10px 3px 10px; display: inline;"><%=Constant.IMAGE_FILE_EXTENTIONS%></div>
        </td>
    </tr>
    <%if (this._Product != null && this._Product.Image_10.Length > 0) { %>
    <tr class="even" id="trCImage10" style="display: none;">
        <td align="right"><%=LanguageUtility.GetLanguageText("CURRENT_IMAGE", Session)%>:</td>
        <td>
            <img class="mw100 mh100" alt="" src="../<%=Constant.UPLOAD_FILE_PATH + this._Product.ImagePath + this._Product.Image_10 %>" />
            <br />
            <input type="checkbox" id="chkRemoveImage10" name="chkRemoveImage10" value="1" /><label for="chkRemoveImage10"><%=LanguageUtility.GetLanguageText("REMOVE", Session)%></label>
        </td>
    </tr>
    <%} %>
</table>
<%} %>
<p style="text-align: left;">
    <span id="spSave2" class="yui-button yui-link-button yuibtn yuibtn-icon btnsave"><span class="first-child"><asp:Button ID="btnSave2" runat="server" OnClick="btnSave_Click" Text="Save" /></span></span>
    <span id="spCancel2" class="yui-button yui-link-button yuibtn yuibtn-icon btncancel"><span class="first-child"><a href="?action=view&g=<%=Request.QueryString["g"] %>&typeid=<%=Request.QueryString["typeid"] %>"><%=LanguageUtility.GetLanguageText("CANCEL", Session)%></a></span></span>
    <script type="text/javascript">
        YAHOO.util.Event.onContentReady("spSave2", function () {
            var spSave2 = new YAHOO.widget.Button("spSave2");
        });
        YAHOO.util.Event.onContentReady("spCancel2", function () {
            var spCancel2 = new YAHOO.widget.Button("spCancel2");
        });
    </script>
</p>
</form>
<script type="text/javascript">
//NTTHAO.editor.init('<%=this._ContentCKEditor.ClientID %>', '700px', '350px');
CKEDITOR.on('instanceReady', function(ev) { 
    onWindowResize();
    YAHOO.util.Event.on('<%=_ContentCKEditor.ClientID %>', 'sizeChange', function() {
        onWindowResize();
    });
});

YAHOO.util.Event.onDOMReady(function() {
    document.getElementById("<%=txtProductID.ClientID %>").focus();
});
</script>